package com.glowdayz.glowmee.cmd;

/** 공통코드 정보를 표현하는 Model 클래스 */
public class CommonCodeCMD {
	private int idCommon;
	private int parentId;
	private String parentIdValue;
	private String commonText;
	private int sortKey;
	private int isDisplay;
	private String create_date;
	private String modified_date;
	
	public CommonCodeCMD() {
	}

	public CommonCodeCMD(int idCommon, int parentId, String commonText,
			int sortKey, int isDisplay, String create_date, String modified_date) {
		super();
		this.idCommon = idCommon;
		this.commonText = commonText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}

	public CommonCodeCMD(int idCommon, int parentId, String parentIdValue,
			String commonText, int sortKey, int isDisplay, String create_date,
			String modified_date) {
		super();
		this.idCommon = idCommon;
		this.parentId = parentId;
		this.parentIdValue = parentIdValue;
		this.commonText = commonText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}

	public int getIdCommon() {
		return idCommon;
	}

	public void setIdCommon(int idCommon) {
		this.idCommon = idCommon;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public String getParentIdValue() {
		return parentIdValue;
	}

	public void setParentIdValue(String parentIdValue) {
		this.parentIdValue = parentIdValue;
	}

	public String getCommonText() {
		return commonText;
	}

	public void setCommonText(String commonText) {
		this.commonText = commonText;
	}

	public int getSortKey() {
		return sortKey;
	}

	public void setSortKey(int sortKey) {
		this.sortKey = sortKey;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	@Override
	public String toString() {
		return "CommonCodeCMD [idCommon=" + idCommon + ", parentId=" + parentId
				+ ", parentIdValue=" + parentIdValue + ", commonText="
				+ commonText + ", sortKey=" + sortKey + ", isDisplay="
				+ isDisplay + ", create_date=" + create_date
				+ ", modified_date=" + modified_date + "]";
	}
	
}
